Digital Clock
This script sets the clock window below
to the current time. In a slight variation from the
prior recipe, this one adds digital numbers to the
batter.
Discussion
This script uses a 60 second timeout (60,000
milliseconds) to update the clock. It updates the
window by loading five images: each clock digit and a
colon. These elements are extracted from the current
hour and minute and assembled in order on a black
background.
Copyright ©1998 by Charles River Media, All Rights Reserved